#ifndef CEDGE_H
#define CEDGE_H

class CFace;
class CVertex;
class CIntersectionPoint;

#include <vector>

// PROJECT
#include "cvertex.h"
#include "cface.h"

class CEdge
{
public:
	CEdge();

	CVertex *		getHead();
	CVertex *		getTail();
	CFace *			getFace();
	CEdge *			getTwinEdge();
	CEdge *			getNextEdge();

	void			setHead(CVertex*);
	void			setTail(CVertex*);
	void			setFace(CFace*);
	void			setTwinEdge(CEdge*);
	void			setNextEdge(CEdge*);


protected:
	CVertex *		m_pHeadVertex;
	CVertex *		m_pTailVertex;

	CEdge *			m_pTwinEdge;
	CEdge *			m_pNextEdge;

	CFace *			m_pFace;
};

#endif // CEDGE_H
